<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" type="text/javascript" src="../js/win_center.js"></script>
  <script src="../bootstrap-3.3.7-dist/js/jquery-3.4.1.min.js"></script>
</head>

<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="../images/index_02.gif">
  <tr>
<!--    <td width="40"><img src="../images/index_01.jpg" width="260" height="40"></td>-->
    <td align="right" valign="bottom"><table border="0" cellspacing="7" cellpadding="0">
      <tr>
        <td width="50" valign="bottom"><img src="../images/index_05.gif" width="20" height="16" align="absbottom"><a href="#" class="a02">后退</a></td>
        <td width="50" valign="bottom"><img src="../images/index_07.gif" width="20" height="16" align="absbottom"><a href="#" class="a02">前进</a></td>
        <td width="50" valign="bottom"><img src="../images/index_09.gif" width="20" height="16" align="absbottom"><a href="main.htm" target="mainFrame" class="a02">首页</a></td>
        <td width="50" valign="bottom"><img src="../images/index_11.gif" width="20" height="16" align="absbottom"><a href="javascript:" target="_parent" name="logout" class="a02">退出</a></td>

        </tr>
    </table></td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="8"><img src="../images/spacer.gif" width="1" height="1"></td>
  </tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="../images/index_21.gif">
<form name="form1" method="post" action="">
  <tr>
    <td width="20" height="30">&nbsp;</td>
    <td class="F03"></td>
    <td align="right" class="F02"><a href="online/online.html" target="mainFrame" class="a01">当前在线</a> ｜ <a href="schedule/index.htm" target="mainFrame" class="a01">日程安排</a> ｜ <a href="grdingzhi/index1.htm" target="mainFrame" class="a01">个人定制</a> ｜ <a href="../html/collection/PersonalCollection.html" target="mainFrame" class="a01">个人收藏夹</a>｜ <a href="../html/message/message.htm" target="mainFrame" class="a01">站内消息[2]</a>｜ <a href="../html/bbs/bbs.html" target="mainFrame" class="a01">论坛</a></td>
    <td width="14" class="F02"></td>
  </tr>
</form>
</table>
</body>
<script>

  $("a[name='logout']").on("click",function () {
    $.ajax({
      url: "/feign/user/logout",
      type: "get",
      headers: {
        Accept: "application/json; charset=utf-8",
        Authorization: location.href.split("=")[1]
      },
      dataType: "json",
      success: function (data) {
        if(data.code==200) {
         location.href="../../login/login.html"
        }else{
        }
      }
    });
  })
</script>

<script>
  $.ajax({
    url: "/feign/user/index",
    type: "get",
    headers: {
      Accept: "application/json; charset=utf-8",
      Authorization: location.href.split("=")[1]
    },
    dataType: "json",
    success: function (data) {
        $("td[class='F03']").append("<img src=\"../images/index_23.gif\" width=\"26\" height=\"30\" align=\"absmiddle\"> 和平研究所 "+data+" 先生，您好！")
    }
  });
</script>
</html>
